package com.LittleHan.crm.workbench.dao;

import com.LittleHan.crm.vo.PaginationVo;
import com.LittleHan.crm.workbench.entity.Activity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface ActivityDao {
    public int insertIntoActivity(Activity activity);
    public int getTotal(@Param("no")int pageNo, @Param("size")int pageSize, @Param("name") String searchName, @Param("owner") String searchOwner, @Param("startDate") String searchStartDate, @Param("endDate") String searchEndDate);
    public List<Activity> getDataList(@Param("no")int pageNo, @Param("size")int pageSize, @Param("name") String searchName, @Param("owner") String searchOwner, @Param("startDate") String searchStartDate, @Param("endDate") String searchEndDate);
    public int deleteActivity(String id[]);
    public Activity getId(String id);
    public int updateActivity(Activity activity);
    public Activity  getDetailInf(String id);
    public List<Activity> getConvertActivity(String name);
}
